package ae.pcfc.cldos.online.common.tscdb.dao.provider;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import ae.pcfc.cldos.online.common.dao.GenericDAO;
import ae.pcfc.cldos.online.common.tscdb.dao.TTScEmirateDAO;
import ae.pcfc.cldos.online.common.tscdb.domain.TTscEmirate;


public class TTscEmirateDAOImpl extends GenericDAO implements TTScEmirateDAO {
	
	@SuppressWarnings("unchecked")
	public List<TTscEmirate> getEmirateList() {
		DetachedCriteria criteria = DetachedCriteria.forClass(TTscEmirate.class);
		List<TTscEmirate> emirates = (List<TTscEmirate>)getListByCriteria(criteria);
		return emirates;
	}
		

}
